// 封装所有和用户相关的接口函数
import request from '@/utils/http'
import httpInstance from "@/utils/http";
export const allActivityAPI = () => {
    return httpInstance({
      url:'/system/activity/list'
    })
}

export function getActivityAPI(id) {
    return request({
        url:'/system/activity',
        params:{
            id
        }
    })
    
}